package com.py.payment.service;

import com.py.payment.dto.ret.MonitorRetDto;
import com.py.payment.entity.EarlyInfo;
import com.py.payment.entity.EarlyLevelConfig;
import com.baomidou.mybatisplus.extension.service.IService;
import com.py.payment.entity.Monitor;

import java.util.List;

/**
 * <p>
 * 预警等级配置 服务类
 * </p>
 *
 * @author py
 * @since 2024-05-21
 */
public interface EarlyLevelConfigService extends IService<EarlyLevelConfig> {

    List<EarlyLevelConfig> getEarlyConfigList();

    /**
     * 判断预警等级
     * @param monitorList
     * @return
     */
    List<EarlyInfo> earlyRating(List<Monitor> monitorList);


}
